package com.tcc.fastline.Helpers;

import android.app.ProgressDialog;
import android.content.Context;

public class ProgressHelper {

	static ProgressDialog dialog;
	
	public static void Exibir(String title, String message, Context context){
		dialog = ProgressDialog.show(context, title, message, false);
		dialog.show();
	}
	
	public static void Dismiss(){
		if(dialog != null){
			dialog.dismiss();
		}
	}
}
